<!DOCTYPE html>
<html>
<!-- <html xmlns:th="http://www.thymeleaf.org"> -->
<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">

    <title>清分临时信息 - 车道出口交易(编辑)</title>

    <link rel="stylesheet" th:href="@{/static/iview/iview.css}">
    <script th:src="@{/static/libs/jquery-3.2.1.min.js}" type="text/javascript"></script>
	<script th:src="@{/static/libs/vue.min.js}" type="text/javascript"></script>
	<script th:src="@{/static/layer/layer.js}" type="text/javascript"></script>
	<script th:src="@{/static/iview/iview.min.js}" type="text/javascript"></script>
    <style type="text/css">
	[v-cloak] {
			  display: none;
			}
			
			.ivu-input{
			   width:80%;
			}
			
			textarea.ivu-input{
			  width:91.5%;
			}
	</style>
</head>
<body>
<div id="app"  v-cloak style="margin: 30px">
 <template>
	    <i-form v-ref:form-property :model="formProperty" :rules="ruleValidate" :label-width="140">
	        <Row>
	          <Form-item label="	交易编号" prop="gid"  style="float:left;width:50%">
	            <i-input  v-model="formProperty.gid"  :value.sync="formProperty.gid" placeholder="请输入交易编号" ></i-input>
	        </Form-item>
	        <Form-item label="车道站编号" prop="sender"  style="float:left;width:50%">
	            <i-input  v-model="formProperty.sender"  :value.sync="formProperty.sender" placeholder="请输入车道站编号"></i-input>
	        </Form-item>
	        </Row>
	        
	
	          <Row>
		        <Form-item label="路网编号" prop="netWork"  style="float:left;width:50%">
		            <i-input  v-model="formProperty.netWork"  :value.sync="formProperty.netWork" placeholder="请输入路网编号"></i-input>
		        </Form-item>
		            <Form-item label="广场" prop="plazaId"  style="float:left;width:50%">
		            <i-input  v-model="formProperty.plazaId"  :value.sync="formProperty.plazaId" placeholder="请输入交易编号" ></i-input>
		        </Form-item>
	        </Row>
	        
	        
	            <Row>
		        <Form-item label="车道号" prop="laneId"  style="float:left;width:50%">
		            <i-input  v-model="formProperty.laneId"  :value.sync="formProperty.laneId" placeholder="请输入车道号"></i-input>
		        </Form-item>
		            <Form-item label="车道类型" prop="laneType"  style="float:left;width:50%">
		            <i-input  v-model="formProperty.laneType"  :value.sync="formProperty.laneType" placeholder="请输入车道类型" ></i-input>
		        </Form-item>
	        </Row>
	        	        
	        	        
	        <Row>
	        <Form-item label="车种" prop="exVehicleClass" style="float:left;width:50%">
	            <i-input  v-model="formProperty.exVehicleClass"  :value.sync="formProperty.exVehicleClass" placeholder="请输入计费交易时间"></i-input>
	        </Form-item>
	        <Form-item label="付费类型" prop="payType" style="float:left;width:50%">
	            <i-input  v-model="formProperty.payType" :value.sync="formProperty.payType" placeholder="请输入应收金额"></i-input>
	        </Form-item>
	        </Row>
	    
	         <Row>
	        <Form-item label="应收金额(单位：分)" prop="feeFare" style="float:left;width:50%">
	            <i-input  v-model="formProperty.feeFare" :value.sync="formProperty.feeFare" placeholder="请输入交易金额"></i-input>
	        </Form-item>
	          <Form-item label="实收金额（单位：分）" prop="realFare" style="float:left;width:50%">
	            <i-input  v-model="formProperty.realFare"  :value.sync="formProperty.realFare" placeholder="请输入实收金额"></i-input>
	        </Form-item>
	        </Row>
	        
	           <Row>
	          <Form-item label="优惠金额" prop="discountFee" style="float:left;width:50%">
	            <i-input  v-model="formProperty.discountFee"  :value.sync="formProperty.discountFee" placeholder="请输入优惠金额"></i-input>
	        </Form-item>
	        <Form-item label=" tac计算码" prop="icardTacNo" style="float:left;width:50%">
	            <i-input  v-model="formProperty.icardTacNo" :value.sync="formProperty.icardTacNo" placeholder="请输入tac计算码"></i-input>
	        </Form-item>
	        </Row> 
	        
	          <Row>
	          <Form-item label="交易的服务类" prop="serviceType" style="float:left;width:50%">
	            <i-input  v-model="formProperty.serviceType"  :value.sync="formProperty.serviceType" placeholder="请输入交易的服务类"></i-input>
	        </Form-item>
	        <Form-item label="obu物理号" prop="obuId" style="float:left;width:50%">
	            <i-input  v-model="formProperty.obuId" :value.sync="formProperty.obuId" placeholder="请输入obu物理号"></i-input>
	        </Form-item>
	        </Row> 
	        
	        
	          <Row>
	          <Form-item label="obu发行号" prop="obuNo" style="float:left;width:50%">
	            <i-input  v-model="formProperty.obuNo"  :value.sync="formProperty.obuNo" placeholder="请输入obu发行号"></i-input>
	        </Form-item>
	        <Form-item label="obu状态" prop="obuStatus" style="float:left;width:50%">
	            <i-input  v-model="formProperty.obuStatus" :value.sync="formProperty.obuStatus" placeholder="请输入obu状态"></i-input>
	        </Form-item>
	        </Row> 
	          <Row>
	          <Form-item label=" obu内车牌号" prop="feeGroup" style="float:left;width:50%">
	            <i-input  v-model="formProperty.feeGroup"  :value.sync="formProperty.feeGroup" placeholder="请输入obu内车牌号"></i-input>
	        </Form-item>
	        <Form-item label=" obu内车牌颜色" prop="obuVehicleNo" style="float:left;width:50%">
	            <i-input  v-model="formProperty.obuVehicleNo" :value.sync="formProperty.obuVehicleNo" placeholder="请输入obu内车牌颜色"></i-input>
	        </Form-item>
	        </Row> 
	        
	        
	           <Row>
	          <Form-item label="obuSign" prop="obuSign" style="float:left;width:50%">
	            <i-input  v-model="formProperty.obuSign"  :value.sync="formProperty.obuSign" placeholder="请输入obuSign"></i-input>
	        </Form-item>
	        <Form-item label=" obu 车型" prop="obuVehicleType" style="float:left;width:50%">
	            <i-input  v-model="formProperty.obuVehicleType" :value.sync="formProperty.obuVehicleType" placeholder="请输入 obu 车型"></i-input>
	        </Form-item>
	        </Row> 
	        
	        <Row>
	          <Form-item label="入口路网编号" prop="entNetWork" style="float:left;width:50%">
	            <i-input  v-model="formProperty.entNetWork"  :value.sync="formProperty.entNetWork" placeholder="请输入入口路网编号"></i-input>
	        </Form-item>
	        <Form-item label="入口广场id" prop="entPlazaId" style="float:left;width:50%">
	            <i-input  v-model="formProperty.entPlazaId" :value.sync="formProperty.entPlazaId" placeholder="请输入入口广场id"></i-input>
	        </Form-item>
	        </Row> 
	        
	          <Row>
	          <Form-item label="入口车道号" prop="entLaneNo" style="float:left;width:50%">
	            <i-input  v-model="formProperty.entLaneNo"  :value.sync="formProperty.entLaneNo" placeholder="请输入入口车道号"></i-input>
	        </Form-item>
	        <Form-item label="tac码" prop="tac" style="float:left;width:50%">
	            <i-input  v-model="formProperty.tac" :value.sync="formProperty.tac" placeholder="请输入tac码"></i-input>
	        </Form-item>
	        </Row> 
	        
	          <Row>
	          <Form-item label="入口实际收费车辆车牌号码" prop="entCarLicense" style="float:left;width:50%">
	            <i-input  v-model="formProperty.entCarLicense"  :value.sync="formProperty.entCarLicense" placeholder="请输入入口实际收费车辆车牌号码"></i-input>
	        </Form-item>
	        <Form-item label=" 入口车牌颜色" prop="enVehicleColor" style="float:left;width:50%">
	            <i-input  v-model="formProperty.enVehicleColor" :value.sync="formProperty.enVehicleColor" placeholder="请输入入口车牌颜色"></i-input>
	        </Form-item>
	        </Row> 
	        
	       <!--   <Row>
	          <Form-item label="psam卡脱机交易序列号" prop="terminalTransNo" style="float:left;width:50%">
	            <i-input  v-model="formProperty.terminalTransNo"  :value.sync="formProperty.terminalTransNo" placeholder="请输入psam卡脱机交易序列号"></i-input>
	        </Form-item>
	        <Form-item label="ic卡交易序号" prop="transNo" style="float:left;width:50%">
	            <i-input  v-model="formProperty.transNo" :value.sync="formProperty.transNo" placeholder="请输入ic卡交易序号"></i-input>
	        </Form-item>
	        </Row> 
	        
	           <Row>
	          <Form-item label="交易的服务类型" prop="serviceType" style="float:left;width:50%">
	            <i-input  v-model="formProperty.serviceType"  :value.sync="formProperty.serviceType" placeholder="请输入交易的服务类型"></i-input>
	        </Form-item>
	        <Form-item label="算法标识" prop="algorithmIdentifier" style="float:left;width:50%">
	            <i-input  v-model="formProperty.algorithmIdentifier" :value.sync="formProperty.algorithmIdentifier" placeholder="请输入算法标识"></i-input>
	        </Form-item>
	        </Row> 
	        
	        
	           <Row>
	          <Form-item label="入口车道编号" prop="enTollLaneId" style="float:left;width:50%">
	            <i-input  v-model="formProperty.enTollLaneId"  :value.sync="formProperty.enTollLaneId" placeholder="请输入入口车道编号"></i-input>
	        </Form-item>
	        <Form-item label="入口收费站hex字符串" prop="algorithmIdentifier" style="float:left;width:50%">
	            <i-input  v-model="formProperty.enTollStationHex" :value.sync="formProperty.enTollStationHex" placeholder="请输入 入口收费站hex字符串"></i-input>
	        </Form-item>
	        </Row> 
	        
	        <Row>
	          <Form-item label="入口交易发生的时间" prop="enTime" style="float:left;width:50%">
	            <i-input  v-model="formProperty.enTime"  :value.sync="formProperty.enTime" placeholder="请输入入口交易发生的时间"></i-input>
	        </Form-item>
	        <Form-item label="入口车道类型" prop="enLaneType" style="float:left;width:50%">
	            <i-input  v-model="formProperty.enLaneType" :value.sync="formProperty.enLaneType" placeholder="请输入算法标识"></i-input>
	        </Form-item>
	        </Row> 
	        
	         <Row>
	          <Form-item label="通行标识id" prop="passId" style="float:left;width:50%">
	            <i-input  v-model="formProperty.enTime"  :value.sync="formProperty.passId" placeholder="请输入通行标识id"></i-input>
	        </Form-item>
	        <Form-item label="上一个门架编号" prop="lastGantryId" style="float:left;width:50%">
	            <i-input  v-model="formProperty.lastGantryId" :value.sync="formProperty.lastGantryId" placeholder="请输入上一个门架编号"></i-input>
	        </Form-item>
	        </Row> 
	        
	        
	           <Row>
	          <Form-item label="obu/cpc物理地址" prop="obuMac" style="float:left;width:50%">
	            <i-input  v-model="formProperty.obuMac"  :value.sync="formProperty.obuMac" placeholder="请输入obu/cpc物理地址"></i-input>
	        </Form-item>
	        <Form-item label="obu/cpc发行方标识" prop="obuIssueId" style="float:left;width:50%">
	            <i-input  v-model="formProperty.obuIssueId" :value.sync="formProperty.obuIssueId" placeholder="请输入 obu/cpc发行方标识"></i-input>
	        </Form-item>
	        </Row> 
	        <Row>
	          <Form-item label="obu/cpc 序号编码" prop="obuSn" style="float:left;width:50%">
	            <i-input  v-model="formProperty.obuSn"  :value.sync="formProperty.obuSn" placeholder="请输入obu/cpc 序号编码"></i-input>
	        </Form-item>
	        <Form-item label="OBU/CPC 版本号" prop="obuVersion" style="float:left;width:50%">
	            <i-input  v-model="formProperty.obuVersion" :value.sync="formProperty.obuVersion" placeholder="请输入OBU/CPC 版本号"></i-input>
	        </Form-item>
	        </Row> 
	        
	         --> <Row>
	        <Form-item label="描述" prop="description">
	            <i-input  v-model="formProperty.description" :value.sync="formProperty.description"  type="textarea"  placeholder="请输入描述" ></i-input>
	        </Form-item>
	         </Row>
	         
	         
	         
	         
	         
	         
	    </i-form>
</template>
</div>
<script type="text/javascript">
var vm = new Vue({
	el : '#app',
	data : {
		formProperty: {
			gid : '',
			gantryId: '',
			description : '',
			jobClassName : '',
			cronExpression : '',
			//旧任务名称  用于修改
			oldJobName : '',
			oldJobGroup : ''
        },
        ruleValidate: {
        	gid: [
                { required: true, message: '交易编号不能为空', trigger: 'blur' }
            ],
            gantryId: [
                { required: true, message: '门架编号不能为空', trigger: 'blur' }
            ],
            description: [
                { required: true, message: '描述不能为空', trigger: 'blur' }
            ],
            tradeId: [
                { required: true, message: '计费交易编号不能为空', trigger: 'blur' }
            ], 
            gantryOrderNum: [
                { required: true, message: '门架顺序号不能为空', trigger: 'blur' }
            ]
        }
	},
	methods : {
		//新建任务(略简单)
		acceptClick : function(){
		  //Validate不起作用MD
		  var formProperty =  vm.form;
		  if(vm.formProperty.jobName==""||vm.formProperty.jobGroup==""||vm.formProperty.description==""
				  ||vm.formProperty.jobClassName==""||vm.formProperty.cronExpression==""){
			  alert("请输入以上完整信息");
			  return;
		  }
		  $.ajax({
				url:"../clear/saveClearDataTempTrans",
				type:"post",
				data:quartz,
				success: function(result) {
					if(result.code=="0"){
						$(window.parent.document).contents().find('#app')[0].contentWindow.vm.load();
					}else{
						vm.$Notice.error({
		                    desc:  '系统异常'
		                });
					}
				}
			});
		}
	},
	created : function() {
		
	}
})

</script>
</body>
</html>